package jok.thread;

public class TestWaitNotify {

	public static void main(String[] args) {
		Fruit fruit = new Fruit("苹果", false);

		Thread t1 = new Thread(new FruitSeller(fruit));
		Thread t2 = new Thread(new FruitBuyer(fruit));

		t1.start();
		t2.start();
	}
}
